<html><head><TITLE>广西数据质量系统登录</TITLE>
<LINK href="${res}/style/user_login.css" type="text/css" rel="stylesheet">
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
<script type="text/javascript">
function checkForm() {
	var name = document.getElementById('j_username').value;
	var password = document.getElementById('j_password').value;
	if (name == '' || name.length < 3) {
		alert('请输入正确的用户名。');
		return false;
	} else if (password == '') {
		alert('请输入正确的密码。');
		return false;
	}
	document.forms[0].action = "${base}/j_spring_security_check?random="+new Date();
	document.forms[0].submit();
	//防止IE下的重复提交BUG
	return false;
}

function winfix() {  
	if (window.screen) {  
	  var myw = screen.width;  
	  var myh = screen.height;  
	  window.moveTo(0, 0);  
	  window.resizeTo(myw, myh);  
	}
}

</script>
</head>
<body id="userlogin_body" onload="winfix();return false;" >
<DIV></DIV>
<form method="post">
<DIV id="user_login">
<#if error?exists>
<#if SPRING_SECURITY_LAST_EXCEPTION?exists>
	&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
	<font color="red">${SPRING_SECURITY_LAST_EXCEPTION.message!""}</font>
</#if>
</#if>
<DL>
  <DD id="user_top">
  <UL>
    <LI class="user_top_l"></LI>
    <LI class="user_top_c"></LI>
    <LI class="user_top_r"></LI></UL>
  <DD id="user_main">
  <UL>
    <LI class="user_main_l"></LI>
    <LI class="user_main_c">
    <DIV class="user_main_box">
    <UL>
      <LI class="user_main_text">用户名： </LI>
      <LI class="user_main_input"><INPUT id="j_username" name="j_username" class="TxtUserNameCssClass"  
      maxLength="20" /> </LI></UL>
    <UL>
      <LI class="user_main_text">密 码： </LI>
      <LI class="user_main_input"><INPUT id="j_password" name="j_password" class="TxtPasswordCssClass" type="password" /> </LI></UL>
    <UL>
    <LI class="user_main_text"> </LI>
    <LI class="user_main_input"><input id="_spring_security_remember_me" name="_spring_security_remember_me" type="checkbox"/>记住我</LI>
    </UL>
    </DIV></LI>
    <LI class="user_main_r"><INPUT class=IbtnEnterCssClass  
    style="BORDER-TOP-WIDTH: 0px; BORDER-LEFT-WIDTH: 0px; BORDER-BOTTOM-WIDTH: 0px; BORDER-RIGHT-WIDTH: 0px" 
    onclick='javascript:checkForm();' 
    type="image" src="${res}/images/login/user_botton.gif" name=IbtnEnter> </LI></UL>
  <DD id="user_bottom">
  <UL>
    <LI class="user_bottom_l"></LI>
    <LI class="user_bottom_c">
	    <SPAN style="MARGIN-TOP: 40px">建议您使用Firefox或者Google Chrome浏览器。</SPAN>
    </LI>
    <LI class="user_bottom_r"></LI></UL></DD></DL></DIV><SPAN id="ValrUserName" 
style="DISPLAY: none; COLOR: red"></SPAN><SPAN id="ValrPassword" 
style="DISPLAY: none; COLOR: red"></SPAN><SPAN id="ValrValidateCode" 
style="DISPLAY: none; COLOR: red"></SPAN>
<DIV id="ValidationSummary1" style="DISPLAY: none; COLOR: red"></DIV>

<DIV></DIV>

</FORM></body></html>
